﻿using System;
using System.Data;
using System.Configuration;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Xml.Linq;

// Mis Imports
using GCon;

namespace GVis
{
/// <summary>
/// Descripción breve de Vis_Alumno
/// </summary>
    public class Vis_Alumno : In_Visor_Individual
    {
        public Vis_Alumno()
        {
            //
            // TODO: Agregar aquí la lógica del constructor
            //
        }
        public override object getObjeto()
        {
            try
            {
                return _datos;
            }
            catch (Exception )
            {
                throw new NotImplementedException();
            }
        }

        public override bool hayObjeto()
        {
            try
            {
                return _datos != null;
            }
            catch (Exception )
            {
                throw new NotImplementedException();
            }
        }

        public override void setObjeto(Object param)
        {
            try
            {
                //_datos.Equals(param);
                _datos = new Con_Alumno( (Con_Alumno) param);
            }
            catch (Exception )
            {

                throw new NotImplementedException();
            }
        }

        private Con_Alumno _datos;
    }
}
